home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
glass
/
glass.lha
/
GLASS
/
dtm
/
test30.gl
< prev
next >
Wrap
Text File
|
1991-06-18
|
283b
|
18 lines
Basetype E;
Atom
not :- E => E,
and :- E & E => E,
and3 :- E & E & E => E,
tff :- E & E => E;
Def
ctr :- E & E => E & E & E;
ctr [ck,in] = [q0, q1, q2]
where
q0 = tff [ck, in];
q1 = tff [ck, and [q0, in]];
q2 = tff [ck, and3 [q0,q1,in]];
endwhere;